#ifndef ATTACHREV
#define ATTACHREV

#include <libusb-1.0/libusb.h>
#include <stdio.h>
#include <list>
#include <map>


using std::list;
using std::map;
//map标识已经打开的设备

#define SILICON_LABS_VENDOR_ID ((unsigned short) 0x10c4)
#define SILICON_LABS_PRODUCT_ID ((unsigned char) 0x03)

void attachRev(list<libusb_device_handle*> &revHandles);
#endif
